package com.linyu.mallchat.common.user.service.adapter;

import com.linyu.mallchat.common.user.domain.entity.User;

public class UserAdapter {

    /**
     * openId 创建用户对象
     */
    public static User buildUserSave(String openId) {
       return User.builder()
                .openId(openId)
                .build();
    }
}
